﻿using System;
using System.Collections.Generic;

namespace WhereIsMyCash.Entity
{
    /// <summary>
    /// 帐户实体
    /// </summary>
    public class AccountInfo : BaseEntity
    {
        /// <summary>
        /// 帐户ID
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 帐户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 户主ID
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 开户日期
        /// </summary>
        public DateTime AccountDate { get; set; }

        /// <summary>
        /// 开户行地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 开户行邮编
        /// </summary>
        public string Zip { get; set; }

        /// <summary>
        /// 银行联系人ID
        /// </summary>
        public int ContactID { get; set; }

        /// <summary>
        /// 银行电话
        /// </summary>
        public string Phone { get; set; }

    }


    /// <summary>
    /// 帐户实体列表
    /// </summary>
    public class AccountInfos : List<AccountInfo>
    { 
    
    }
}
